import Layout from "@/layout";

export default {
  path: "/subject",
  component: Layout,
  redirect: "/subject/subject",
  name: "subject",
  meta: { title: "学科管理", icon: "el-icon-document-remove" },
  children: [
    {
      path: "subject",
      name: "subject:subject",
      component: () => import("@/views/subject/subject"),
      meta: { title: "学科信息", icon: "table" },
    },
    {
      path: "directory",
      name: "subject:directory",
      component: () => import("@/views/subject/directory"),
      meta: { title: "目录信息", icon: "el-icon-document-remove" },
    },
    {
      path: "tag",
      name: "subject:tag",
      component: () => import("@/views/subject/tag"),
      meta: { title: "标签信息", icon: "el-icon-document-remove" },
    },
  ],
};
